package com.yy.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yy.common.annotation.Excel;
import com.yy.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 投诉工单对象 oa_complaints
 * 
 * @author yy
 * @date 2023-11-03
 */
public class OaComplaints extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 业主Id */
    @Excel(name = "业主Id")
    private Long ownerId;

    /** 单号 */
    @Excel(name = "单号")
    private String no;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 投诉人电话 */
    @Excel(name = "投诉人电话")
    private String applyPhone;

    /** 投诉人姓名 */
    @Excel(name = "投诉人姓名")
    private String applyName;

    /** 分类 */
    @Excel(name = "分类")
    private String applyCategory;

    /** 投诉内容 */
    @Excel(name = "投诉内容")
    private String applyContent;

    /** 投诉人的诉求 */
    @Excel(name = "投诉人的诉求")
    private String applyRequirements;

    /** 申请的商户编号 */
    @Excel(name = "申请的商户编号")
    private String applyHouse;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 图片 */
    @Excel(name = "图片")
    private String applyImg;

    /** 受理说明 */
    @Excel(name = "受理说明")
    private String appContent;

    /** 受理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "受理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appTime;

    /** 问题确认备注 */
    @Excel(name = "问题确认备注")
    private String confirmContent;

    /** 领单人员 */
    @Excel(name = "领单人员")
    private String assigneeUser;

    /** 领单人 */
    @Excel(name = "领单人")
    private String assigneeUserName;

    /** 处理备注 */
    @Excel(name = "处理备注")
    private String assigneeContent;

    /** 状态 */
    @Excel(name = "状态")
    private String complaintsState;

    /** 客户评价分数 */
    @Excel(name = "客户评价分数")
    private String ownerScore;

    /** 客户评价内容 */
    @Excel(name = "客户评价内容")
    private String ownerScoreRemark;

    /** 回访状态 */
    @Excel(name = "回访状态")
    private String returnState;

    /** 回访结果 */
    @Excel(name = "回访结果")
    private String returnResult;

    /** 回访意见 */
    @Excel(name = "回访意见")
    private String returnRemark;

    /** 工单结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "工单结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 总耗时 */
    @Excel(name = "总耗时")
    private Long timeConsum;

    /** 优先级 */
    @Excel(name = "优先级")
    private Long priority;

    /** 工单状态 */
    @Excel(name = "工单状态")
    private String state;

    /** 数据来源 */
    @Excel(name = "数据来源")
    private String client;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOwnerId(Long ownerId) 
    {
        this.ownerId = ownerId;
    }

    public Long getOwnerId() 
    {
        return ownerId;
    }
    public void setNo(String no) 
    {
        this.no = no;
    }

    public String getNo() 
    {
        return no;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setApplyPhone(String applyPhone) 
    {
        this.applyPhone = applyPhone;
    }

    public String getApplyPhone() 
    {
        return applyPhone;
    }
    public void setApplyName(String applyName) 
    {
        this.applyName = applyName;
    }

    public String getApplyName() 
    {
        return applyName;
    }
    public void setApplyCategory(String applyCategory) 
    {
        this.applyCategory = applyCategory;
    }

    public String getApplyCategory() 
    {
        return applyCategory;
    }
    public void setApplyContent(String applyContent) 
    {
        this.applyContent = applyContent;
    }

    public String getApplyContent() 
    {
        return applyContent;
    }
    public void setApplyRequirements(String applyRequirements) 
    {
        this.applyRequirements = applyRequirements;
    }

    public String getApplyRequirements() 
    {
        return applyRequirements;
    }
    public void setApplyHouse(String applyHouse) 
    {
        this.applyHouse = applyHouse;
    }

    public String getApplyHouse() 
    {
        return applyHouse;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }
    public void setApplyImg(String applyImg) 
    {
        this.applyImg = applyImg;
    }

    public String getApplyImg() 
    {
        return applyImg;
    }
    public void setAppContent(String appContent) 
    {
        this.appContent = appContent;
    }

    public String getAppContent() 
    {
        return appContent;
    }
    public void setAppTime(Date appTime) 
    {
        this.appTime = appTime;
    }

    public Date getAppTime() 
    {
        return appTime;
    }
    public void setConfirmContent(String confirmContent) 
    {
        this.confirmContent = confirmContent;
    }

    public String getConfirmContent() 
    {
        return confirmContent;
    }
    public void setAssigneeUser(String assigneeUser) 
    {
        this.assigneeUser = assigneeUser;
    }

    public String getAssigneeUser() 
    {
        return assigneeUser;
    }
    public void setAssigneeUserName(String assigneeUserName) 
    {
        this.assigneeUserName = assigneeUserName;
    }

    public String getAssigneeUserName() 
    {
        return assigneeUserName;
    }
    public void setAssigneeContent(String assigneeContent) 
    {
        this.assigneeContent = assigneeContent;
    }

    public String getAssigneeContent() 
    {
        return assigneeContent;
    }
    public void setComplaintsState(String complaintsState) 
    {
        this.complaintsState = complaintsState;
    }

    public String getComplaintsState() 
    {
        return complaintsState;
    }
    public void setOwnerScore(String ownerScore) 
    {
        this.ownerScore = ownerScore;
    }

    public String getOwnerScore() 
    {
        return ownerScore;
    }
    public void setOwnerScoreRemark(String ownerScoreRemark) 
    {
        this.ownerScoreRemark = ownerScoreRemark;
    }

    public String getOwnerScoreRemark() 
    {
        return ownerScoreRemark;
    }
    public void setReturnState(String returnState) 
    {
        this.returnState = returnState;
    }

    public String getReturnState() 
    {
        return returnState;
    }
    public void setReturnResult(String returnResult) 
    {
        this.returnResult = returnResult;
    }

    public String getReturnResult() 
    {
        return returnResult;
    }
    public void setReturnRemark(String returnRemark) 
    {
        this.returnRemark = returnRemark;
    }

    public String getReturnRemark() 
    {
        return returnRemark;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setTimeConsum(Long timeConsum) 
    {
        this.timeConsum = timeConsum;
    }

    public Long getTimeConsum() 
    {
        return timeConsum;
    }
    public void setPriority(Long priority) 
    {
        this.priority = priority;
    }

    public Long getPriority() 
    {
        return priority;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setClient(String client) 
    {
        this.client = client;
    }

    public String getClient() 
    {
        return client;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ownerId", getOwnerId())
            .append("no", getNo())
            .append("title", getTitle())
            .append("applyPhone", getApplyPhone())
            .append("applyName", getApplyName())
            .append("applyCategory", getApplyCategory())
            .append("applyContent", getApplyContent())
            .append("applyRequirements", getApplyRequirements())
            .append("applyHouse", getApplyHouse())
            .append("applyTime", getApplyTime())
            .append("applyImg", getApplyImg())
            .append("appContent", getAppContent())
            .append("appTime", getAppTime())
            .append("confirmContent", getConfirmContent())
            .append("assigneeUser", getAssigneeUser())
            .append("assigneeUserName", getAssigneeUserName())
            .append("assigneeContent", getAssigneeContent())
            .append("complaintsState", getComplaintsState())
            .append("ownerScore", getOwnerScore())
            .append("ownerScoreRemark", getOwnerScoreRemark())
            .append("returnState", getReturnState())
            .append("returnResult", getReturnResult())
            .append("returnRemark", getReturnRemark())
            .append("endTime", getEndTime())
            .append("timeConsum", getTimeConsum())
            .append("priority", getPriority())
            .append("state", getState())
            .append("client", getClient())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
